package hlhj.fhp.newslib.javabean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018\6\25 0025.
 */

public class SpecialDetailBean implements Serializable {

    /**
     * code : 1
     * message : 获取成功
     * data : {"number":0,"list":[{"id":39,"category_id":",4,","subject_id":null,"type":1,"title":"","extract_img":["http://192.168.0.220/ueditor/php/upload/image/20180427/1524807842.jpeg"],"content":"","is_top":0,"is_hot":1,"click_rate":0,"release":"互联互加","video_url":"","atlas_img":"","advertisement_img":[null],"advertisement_url":"","advertiser":"","add_time":"2小时前"},{"id":44,"category_id":null,"subject_id":",1,","type":1,"title":"乐视2017年报巨亏139亿 会计师事务所：无法表示意见","extract_img":null,"content":"","is_top":0,"is_hot":0,"click_rate":0,"release":"互联互加","video_url":null,"atlas_img":null,"advertisement_img":[null],"advertisement_url":null,"advertiser":null,"add_time":"2小时前"}],"name":"固定专题1","cover_img":"/application/HLHJ_news/uploads/images/20180424/bdac891c3d8f8e8149a04b5f933581dd.jpg"}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * number : 0
         * list : [{"id":39,"category_id":",4,","subject_id":null,"type":1,"title":"","extract_img":["http://192.168.0.220/ueditor/php/upload/image/20180427/1524807842.jpeg"],"content":"","is_top":0,"is_hot":1,"click_rate":0,"release":"互联互加","video_url":"","atlas_img":"","advertisement_img":[null],"advertisement_url":"","advertiser":"","add_time":"2小时前"},{"id":44,"category_id":null,"subject_id":",1,","type":1,"title":"乐视2017年报巨亏139亿 会计师事务所：无法表示意见","extract_img":null,"content":"","is_top":0,"is_hot":0,"click_rate":0,"release":"互联互加","video_url":null,"atlas_img":null,"advertisement_img":[null],"advertisement_url":null,"advertiser":null,"add_time":"2小时前"}]
         * name : 固定专题1
         * cover_img : /application/HLHJ_news/uploads/images/20180424/bdac891c3d8f8e8149a04b5f933581dd.jpg
         */

        private int number;
        private String name;
        private String cover_img;
        private List<ListBean> list;

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCover_img() {
            return cover_img;
        }

        public void setCover_img(String cover_img) {
            this.cover_img = cover_img;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean implements MultiItemEntity, Serializable{
            /**
             * id : 39
             * category_id : ,4,
             * subject_id : null
             * type : 1
             * title :
             * extract_img : ["http://192.168.0.220/ueditor/php/upload/image/20180427/1524807842.jpeg"]
             * content :
             * is_top : 0
             * is_hot : 1
             * click_rate : 0
             * release : 互联互加
             * video_url :
             * atlas_img :
             * advertisement_img : [null]
             * advertisement_url :
             * advertiser :
             * add_time : 2小时前
             */

            private int id;
            private String category_id;
            private Object subject_id;
            private int type;
            private String title;
            private String content;
            private int is_top;
            private int is_hot;
            private int click_rate;
            private String release;
            private String video_url;
            private String atlas_img;
            private String advertisement_url;
            private String advertiser;
            private String add_time;
            private List<String> extract_img;
            private List<String> advertisement_img;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCategory_id() {
                return category_id;
            }

            public void setCategory_id(String category_id) {
                this.category_id = category_id;
            }

            public Object getSubject_id() {
                return subject_id;
            }

            public void setSubject_id(Object subject_id) {
                this.subject_id = subject_id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getIs_top() {
                return is_top;
            }

            public void setIs_top(int is_top) {
                this.is_top = is_top;
            }

            public int getIs_hot() {
                return is_hot;
            }

            public void setIs_hot(int is_hot) {
                this.is_hot = is_hot;
            }

            public int getClick_rate() {
                return click_rate;
            }

            public void setClick_rate(int click_rate) {
                this.click_rate = click_rate;
            }

            public String getRelease() {
                return release;
            }

            public void setRelease(String release) {
                this.release = release;
            }

            public String getVideo_url() {
                return video_url;
            }

            public void setVideo_url(String video_url) {
                this.video_url = video_url;
            }

            public String getAtlas_img() {
                return atlas_img;
            }

            public void setAtlas_img(String atlas_img) {
                this.atlas_img = atlas_img;
            }

            public String getAdvertisement_url() {
                return advertisement_url;
            }

            public void setAdvertisement_url(String advertisement_url) {
                this.advertisement_url = advertisement_url;
            }

            public String getAdvertiser() {
                return advertiser;
            }

            public void setAdvertiser(String advertiser) {
                this.advertiser = advertiser;
            }

            public String getAdd_time() {
                return add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public List<String> getExtract_img() {
                return extract_img;
            }

            public void setExtract_img(List<String> extract_img) {
                this.extract_img = extract_img;
            }

            public List<String> getAdvertisement_img() {
                return advertisement_img;
            }

            public void setAdvertisement_img(List<String> advertisement_img) {
                this.advertisement_img = advertisement_img;
            }

            @Override
            public int getItemType() {
                return type;
            }
        }
    }
}
